function [LabelDensity] = Ddavid_get_label_density(Label)

LabelNumber = sum(sum(Label == 1, 1), 2);

LabelDensity.LabelDensity = LabelNumber / size(Label, 1) / size(Label, 2);
LabelDensity.LabelPerInstance = LabelNumber / size(Label, 1);

LabelDensity.LabelCounterTable = sum(Label == 1, 1);

LabelDensity.MaxLabelCounter = max(LabelDensity.LabelCounterTable);
LabelDensity.MinLabelCounter = min(LabelDensity.LabelCounterTable);
LabelDensity.AvgLabelCounter = LabelNumber / size(Label, 2);
